using Net35.Xrm.Sdk;
using Net35.Xrm.Sdk.Query;
using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class RetrieveMembersBulkOperationRequest : OrganizationRequest
	{
		public Guid BulkOperationId
		{
			get
			{
				if (base.Parameters.Contains("BulkOperationId"))
				{
					return (Guid)base.Parameters["BulkOperationId"];
				}
				return default(Guid);
			}
			set
			{
				base.Parameters["BulkOperationId"] = value;
			}
		}
		public int BulkOperationSource
		{
			get
			{
				if (base.Parameters.Contains("BulkOperationSource"))
				{
					return (int)base.Parameters["BulkOperationSource"];
				}
				return 0;
			}
			set
			{
				base.Parameters["BulkOperationSource"] = value;
			}
		}
		public int EntitySource
		{
			get
			{
				if (base.Parameters.Contains("EntitySource"))
				{
					return (int)base.Parameters["EntitySource"];
				}
				return 0;
			}
			set
			{
				base.Parameters["EntitySource"] = value;
			}
		}
		public QueryBase Query
		{
			get
			{
				if (base.Parameters.Contains("Query"))
				{
					return (QueryBase)base.Parameters["Query"];
				}
				return null;
			}
			set
			{
				base.Parameters["Query"] = value;
			}
		}
		public RetrieveMembersBulkOperationRequest()
		{
			base.RequestName = "RetrieveMembersBulkOperation";
			this.BulkOperationId = default(Guid);
			this.BulkOperationSource = 0;
			this.EntitySource = 0;
			this.Query = null;
		}
	}
}
